public class Example04 {
    public static void main(String[] args) {
        int x = 12;//定义变量 x
        {
            int y = 96;//定义变量 y
            System.out.println("x is " + x);//访问变量x
            System.out.println("y is " + y);//访问变量y
        }
//        y = x; //访问变量x 为变量y赋值
        System.out.println("x is " + x);//访问变量x
    }
}
